<?php if(!defined('A')) exit;?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $r['title'];?>_文章挑错_英语分级阅读_轻松背单词</title>
<meta name="keywords" content="<?php echo $r['title'];?>,文章挑错,英语分级阅读,轻松背单词" />
<meta name="description" content="<?php echo $r['title'];?>,文章挑错,英语分级阅读,轻松背单词" />
<!--[if IE 6]>
<?php
loadjs('DD_belatedPNG_0.0.8a-min',P_JS);
?>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<?php
loadjs(array('common','jquery','user'),P_JS);
loadcss(array('main'));
?>
<script>
$(document).ready(function(){
	var errtxt=$('#errtxt');
	var oktxt=$('#oktxt');
	var captcha=$('#captcha');
	$('#myform').submit(function(){
			if(errtxt.val().length<5 || errtxt.val().length>500){
				alert('错误内容长度在5-500之间！');
				errtxt.focus();
				return false;
			}
			if(oktxt.val().length<5 || oktxt.val().length>500){
				alert('修正建议长度在5-500之间！');
				oktxt.focus();
				return false;
			}
			if(captcha.val().length<4){
				alert('验证码不正确！');
				captcha.focus();
				return false;	
			}
			return true;
	});
	var imgcode=$('#imgcode');
	imgcode.css('cursor','pointer').hide();
	$('#captcha').focus(function(){
		if(imgcode.attr('src')==''){
			imgcode.attr('src','/code.php?'+Math.random()).fadeIn();
		}
	});
	imgcode.click(function(){
		$(this).attr('src','/code.php?'+Math.random());
	});
});
</script>
</head>
<body>
<!--头部开始-->
<?php include(dirname(dirname(__FILE__)).'/header.inc.php');?>
<!--头部结束-->

<div class="m" id="list_box">
<div class="index_l r_bian">
<div id="bread">当前位置：<a href="/">首页</a> -> 文章挑错</div>
<div align="center" class="r_title" id="wzbt">文章挑错【<?php echo $r['title'];?>】</div>
<br />
<form action="<?php echo url('arc','pick_error_');?>" method="post" id="myform">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="right">错误类型：</td>
    <td align="left">
    <select name="type" id="type">
<?php echo form_select($type_arr,1);?>
</select>
</td>
  </tr>
  <tr>
    <td align="right">错误内容：</td>
    <td align="left"><textarea rows="5" cols="60" name="errtxt" id="errtxt"></textarea>(最少5字符,最长500字)</td>
  </tr>
  <tr>
    <td align="right">修正建议：</td>
    <td align="left"><textarea rows="5" cols="60" name="oktxt" id="oktxt"></textarea>(最少5字符,最长500字)</td>
  </tr>
  <tr>
    <td align="right">验证码：</td>
    <td align="left"><input type="text" name="captcha" value="" id="captcha" autocomplete="off" />&nbsp;<img src="" id="imgcode" title="点击更换" align="absmiddle" /></td>
  </tr>
  <tr>
    <td colspan="2" align="center">
    <input name="submit" type="submit" value="提交" />
<input name="arc_id" type="hidden" value="<?php echo $r['id'];?>" />
<input name="title" type="hidden" value="<?php echo $r['title'];?>" />
</td>
  </tr>
</table>
</form>
<br />
</div>

<div class="index_r">

<div class="l_bian">
    <ul style="text-align:center;" class="l_top">会员登陆</ul>
	<div id="form_login"></div>
</div>

<div class="l_bian top8">
    <ul style="text-align:center;" class="l_top">热门单词标签</ul>
    <div>
<ul style="line-height: 23px;" class="c1 ico2">
	<?php
    $tag=$widget->hot_wordtags(20);
	$tag=(is_array($tag))?$tag:array();
	foreach($tag as $v){
	?>
    <a target="_blank" title="<?php echo $v['tag'];?>" href="<?php echo url('wordtag','arc_list','tag='.urlencode($v['tag']));?>"><?php echo $v['tag'];?></a>&nbsp;
    <?php
	}
	unset($tag);
	?>
</ul>
    </div>
</div>
<div class="l_bian top8">
    <ul style="text-align:center;" class="l_top">热点内容</ul>
    <div style="width:100%; " class="l_box">
    <ul class="doing_ul_l">
    
	<?php
    $tag=$widget->hot_article(10);
	$tag=(is_array($tag))?$tag:array();
	foreach($tag as $k=>$v){
	?>
    <li><?php echo $k+1;?>.<a target="_blank" title="<?php echo $v['title'];?>" href="<?php echo $v['htmlurl'];?>"><?php echo $v['title'];?></a></li>
    <?php
	}
	unset($tag);
	?>
        
    </ul>
    </div>
</div>
<!---->
   <div class="l_bian top8">
    <ul style="text-align:center;" class="l_top">推荐内容</ul>
    <div style="width:100%; " class="l_box">
    <ul class="doing_ul_l">
	<?php
    $tag=$widget->cmd_article(10);
	$tag=(is_array($tag))?$tag:array();
	foreach($tag as $k=>$v){
	?>
    <li><?php echo $k+1;?>.<a target="_blank" title="<?php echo $v['title'];?>" href="<?php echo $v['htmlurl'];?>"><?php echo $v['title'];?></a></li>
    <?php
	}
	unset($tag);
	?>
    </ul>
    </div>
</div>       
</div>

</div>

<!--尾部开始-->
<?php include(dirname(dirname(__FILE__)).'/footer.inc.php');?>
<!--尾部结束-->

</body>
</html>